#include "windows.h"

#pragma once

typedef struct _WidgetInput
{
	HWND hLable;
	char* text;
	HWND hInput;
}WidgetInput;

class CommonWindow
{
public:
	CommonWindow();
	int RegisterWindow();
	static LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM);
	RECT* GetRects();
	int GetRectsCount();
private:
	RECT* m_pRects;
	int   m_nRect;
};

class WindowWithBorder : public CommonWindow
{
public:
	int DrawBorder(HWND);
};